from django.urls import path
from .views import QuestionnaireListAPIView, QuestionnaireDetailAPIView, AnswerAPIView, QuestionnaireDuoYuanAPIView

urlpatterns = [
    path('list', QuestionnaireListAPIView.as_view(), name='qn-list'),
    path('duoyuan-2025', QuestionnaireDuoYuanAPIView.as_view(), name='qn-duoyuan'),
    path('<str:pk>', QuestionnaireDetailAPIView.as_view(), name='qn-detail'),
    path('<str:pk>/answer', AnswerAPIView.as_view(), name='qn-answer'),
]